package org.gbif.crawler.console.model;

/**
 * Simple model object for quick search results
 * @author tim
 */
public class SearchResult {
  private String resourceKey;
  private String resourceTitle;
  private String institutionTitle;
  private String country;
  private String url;
  private int numberRecords;
  private String lastActivity;
  
  public SearchResult(String resourceKey, String resourceTitle, String institutionTitle, String country, String url, int numberRecords,
      String lastActivity) {
    this.resourceKey = resourceKey;
    this.resourceTitle = resourceTitle;
    this.institutionTitle = institutionTitle;
    this.country = country;
    this.url = url;
    this.numberRecords = numberRecords;
    this.lastActivity = lastActivity;
  }
  public String getResourceTitle() {
    return resourceTitle;
  }
  public String getInstitutionTitle() {
    return institutionTitle;
  }
  public String getCountry() {
    return country;
  }
  public String getUrl() {
    return url;
  }
  public int getNumberRecords() {
    return numberRecords;
  }
  public String getLastActivity() {
    return lastActivity;
  }
  public String getResourceKey() {
    return resourceKey;
  }
  
  
}
